package com.mirror.llk.util;

/**
 * 常量类
 * <p>
 * Copyright: Copyright (c) Mar 1, 2013 3:29:57 PM
 * <p>
 * Company: 北京幻方朗睿技术有限公司
 * <p>
 * Author: 李晖
 * <p>
 * Version: 1.0
 * <p>
 */
public class Constant {

    /** 返回参数 */
    public static final String RETURN_MESSAGE = "retMsg";

    public enum OPEN_TYPE {
        ;

        public static final String SINA = "1";

        public static final String TENCENT = "2";
    }

    public enum THEME_TYPE {
        ;

        public static final String OFFICIAL = "1";

        public static final String PRIVATE = "2";
    }

    public enum FILE_TYPE {
        ;

        public static final String ZIP = ".zip";

        public static final String PNG = ".png";
    }

    public enum HTTP_XML {
        ;

        public static final String ENCODING_UTF8 = "UTF-8";

        public static final String CONTENT_TYPE = "text/xml;charset=UTF-8";

        public static final String XML_HEAD = "<?xml version='1.0' encoding='UTF-8'?>";
    }

    public enum APP_DIR {
        ;

        /** 用户头像路径 */
        public static final String USER = "user/";

        /** 主题图片路径 */
        public static final String THEME = "theme/";

        /** 主题压缩图片路径 */
        public static final String ZIP = "zip/";

        /** 临时文件路径 */
        public static final String TEMP = "temp/";

    }

}